<script type="text/javascript">
    function showreview()
    {
        var fu='<{$smarty.cookies.USER}>';
        if (fu=='')
        {
            alert('<{$lang.no_logo}>');
            window.location.href='<{$config.weburl}>/login.php';
            return false;
        }
        else
        {
            document.getElementById("reviewt").style.display='block';
        }
    } 
    function getfav()
    {	
        var url = '<{$config.weburl}>/ajax_back_end.php';
        var myurl=document.location.href;
        var u='<{$smarty.cookies.USER}>';
        if (u=='')
        {
            alert('<{$lang.no_logo}>');
            window.location.href='<{$config.weburl}>/login.php';
            return false;
        }
        var fu='<{$de.id}>';
        var typ='4';
        var ttil='<{$de.title}>';
        var mpic='<{$de.imgurl}>';
        var des='<{$de.con|strip_tags|truncate:100:"...":true|escape:"javascript"}>';
        var pars = 'user='+u+'&fid='+fu+'&type='+typ+'&title='+ttil+'&url='+myurl+'&des='+des+'&picurl='+mpic;
        var myAjax = new Ajax.Request(url,{method: 'post', parameters: pars, onComplete: showResponse});
        function showResponse(originalRequest)
        {
            if(originalRequest.responseText>1)
                alert('<{$lang.fav_ok}>');
            else if (originalRequest.responseText>0)
                alert('<{$lang.fav_isbeing}>');
            else
                alert('<{$lang.error}>');
        }
    }
    function printcontent()
    {
        var printw = window.open('','','');
        printw.opener = null;
        printw.document.write('<div style="width:700px;">'+document.getElementById('newscon').innerHTML+'</div>');
        printw.window.print();
    }
    function picwidth(pid, img)
    {
        var img = img ? img : 710;
        var wid= pid.width;
        if(wid < img)
        {
            return;
        } 
        else 
        {
            var hei = pid.height;
            pid.title = 'View big photo';
            pid.onclick=function (e){window.open(pid.src);}
            pid.height = parseInt(hei*img/wid);
            pid.width =img;
        }
    }
</script>
<div class="guanggao1"><script src='<{$config.weburl}>/api/ad.php?id=89&catid=<{$smarty.get.id}>&sname=<{$sname}>'></script></div>
<div class="line2"></div>
<div id="allNews">
    <div id="new-content1-left3"> 
        <div id="new-content1-left-top">
            <span class="news1">你现在所在的位置是:</span>
            <span class="news2"><a href='<{$config.weburl}>/'><{$lang.indexpage}></a></span>
            <span class="news2">></span>
            <span class="news2"><a href="<{$config.weburl}>/?m=exhibition"><{$lang.exh}></a></span>
            <span class="news2">></span>
            <span class="news2"><{$de.title}></span>
        </div>
        <div id="mingzi" class="newstitle">
            <{$de.title}>
        </div>
        <div class="xiangqingline"></div>
        <div class="riqi">
            发布日期：<{$de.addTime}> <{insert name="label" type="statics" temp='statics_default' ctype=4 id=$de.id}>
            <a href="#" onClick="getfav();"><{$lang.fav}></a> <a href="#" onClick="printcontent();"><{$lang.print}></a>
        </div>
        <div class="zhanhuiliebiao">
            <table class="exhibition" width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cfcfcf" align="left" style="margin-top:10px;">
                <tbody>
                    <tr>
                        <td width="19%" bgcolor="#efefef" align="left">
                            <strong>国家:</strong>
                        </td>
                        <td width="81%" bgcolor="#FFFFFF" align="left"><{$de.country}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>展品范围:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.cat}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>展出时间</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.stime|date_format}><{$lang.timeto}><{$de.etime|date_format}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>城市:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.city}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>地址:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.addr}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>展馆:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.showroom}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>主办单位:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.organizers}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>承办单位:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.contractors}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>联系人:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.contact}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef" align="left">
                            <strong>联系电话:</strong>
                        </td>
                        <td bgcolor="#FFFFFF" align="left"><{$de.tel}></td>
                    </tr>
                    <tr>
                        <td bgcolor="#efefef">
                            <strong>分享</strong>
                        </td>
                        <td bgcolor="#FFFFFF">
                            <div class="bshare-custom"><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到开心网" class="bshare-kaixin001"></a><a title="分享到豆瓣" class="bshare-douban"></a><a title="更多平台" class="bshare-more bshare-more-icon"></a><span class="BSHARE_COUNT bshare-share-count">0</span></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div style="clear: both;"></div>
            <div class="zhanghuicon" id="newscon">
                <{$de.con}>
            </div>
            <div style="clear: both;"></div>
            <div>
                <{insert name="label" type="comment" ctype=4 cid=$smarty.get.id temp="comment_default" }>
            </div>
        </div>	
    </div>
    <div id="new-content1-Middle1"></div>
    <div id="new-content1-right"><script src='<{$config.weburl}>/api/ad.php?id=90&catid=<{$smarty.get.id}>&sname=<{$sname}>'></script></div>
    <div class="newguanggaowei"><script src='<{$config.weburl}>/api/ad.php?id=91&catid=<{$smarty.get.id}>&sname=<{$sname}>'></script></div>   
</div>